import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      keepAlive: true,
      title: '支付管理',
      order: 1
    },
    name: 'Pay',
    path: '/pay',
    children: [
      {
        meta: {
          title: '订单管理',
        },
        name: 'Order',
        path: 'order',
        component: () => import('#/views/pay/order.vue'),
      }, 
      {
        meta: {
          title: '账单管理',
        },
        name: 'Bill',
        path: 'bill',
        component: () => import('#/views/pay/bill.vue'),
      },
    ],
  },
];

export default routes;
